package com.amoyt.project.domain.dto.query;

import com.amoyt.project.domain.dto.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Date: 2025/8/25
 * @Time: 16:19
 * @Author: TQ_QT
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "文章分页查询参数")
public class ArticlePageQuery extends BasePageQuery {
    public static final Integer CATEGORY_PUBLICITY = 1;
    public static final Integer CATEGORY_NOTICE = 2;
    public static final Integer CATEGORY_OPINION_COLLECTION = 3;
    public static final Integer CATEGORY_NEWS = 4;

    public static final Integer IS_OPEN = 1;
    public static final Integer IS_NOT_OPEN = 0;

    public static final Integer IS_PUBLISHED = 1;
    public static final Integer IS_NOT_PUBLISHED = 0;

    @Schema(description = "文章公告发布者")
    private String publisherName;

    @Schema(description = "文章公告标题")
    private String articleTitle;

    @Schema(description = "文章公告种类[1-公示公告，2通知公告，3-意见征集，4新闻]")
    private Integer category;

    @Schema(description = "是否公开信息(0-默认不公开，1-公开)")
    private Integer isOpen;

    @Schema(description = "发布状态(0-草稿-默认,1-已发布)")
    private Integer isPublished;
}
